import {createAPI, createFormAPI} from '@/utils/request'

export const list = data => createAPI('/articles/list', 'get', data)
export const listDetails = data => createAPI(`/articles/list/${data.id}`, 'get', data)
export const update = data => createAPI(`/articles/list/${data.id}`, 'get', data)
export const add = data => createAPI(`/articles/list/${data.id}`, 'get', data)
